package com.keba.lamp.complaint.vo.result;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 表单查询方法返回值VO
 * 账户明细
 * </p>
 *
 * @author twg
 * @date 2025-05-15 20:30:52
 */
@ExcelIgnoreUnannotated
@Data
@Schema(description = "账户明细")
public class AccountDetailResultExcelVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private static final String[] header = {"类型", "业务类别",
            "下单时间", "名称" , "案件编号", "账户流水号", "账户类型",
            "收支类型", "金额", "预付款余额", "下单时间", "入账时间",
            "备注"};
    @ExcelProperty(order = 0, value = "类型")
    private String type;

    @ExcelProperty(order = 1, value = "业务类别")
    private String bizType;

    @ExcelProperty(order = 2, value = "下单时间")
    private LocalDateTime bizTime;

    @ExcelProperty(order = 3, value = "名称")
    private String bizDesc;

    @ExcelProperty(order = 4, value = "案件编号")
    private String caseId;

    @ExcelProperty(order = 5, value = "账户流水号")
    private String code;

    @ExcelProperty(order = 6, value = "账户类型")
    private String accountType;

    @ExcelProperty(order = 7, value = "收支类型")
    private String incomeExpenseType;

    @ExcelProperty(order = 8, value = "金额")
    private BigDecimal amount;

    @ExcelProperty(order = 9, value = "预付款余额")
    private BigDecimal balance;

    @ExcelProperty(order = 10, value = "下单时间")
    private LocalDateTime bizTime1;

    @ExcelProperty(order = 11, value = "入账时间")
    private LocalDateTime bookingTime;

    @ExcelProperty(order = 12, value = "备注")
    private String remark;

}
